package MyFile;

import java.io.File;

public class demo7 {
    public static void main(String[] args) {
        File file = new File("D:\\software\\code\\2023_java\\2023_java_code");
        String[] l = file.list();
        for (String name : l){
            System.out.print(name + "、");
        }
    }
}
